#include "projectdefinitions.h"
#include <avr/io.h>
#include <stdlib.h>

PROGRAM_INIT

ACTIVATE_LCD


char Datain[200];
char Dataout[200];
Datain[0]=10;


PROGRAM_START

LCD_TEXT("Hallo")
WAIT_SEC(2)
LCD_TEXT("In")
WAIT_SEC(2)
LCD_NUMBER(Datain[0]) 
WAIT_SEC(2)
WRITE_FLASH(1,Datain)
LCD_TEXT("Out")

WAIT_SEC(2)
READ_FLASH(1,Dataout) 

LCD_NUMBER(Dataout[0]) 
WAIT_SEC(2)
PROGRAM_END   
